.menuContainer {
  padding: 8px 0;
  
  :global(.ant-tree-node-content-wrapper) {
    padding: 8px 12px;
    border-radius: 6px;
    margin: 2px 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    line-height: 24px;
    min-height: 32px;
    display: flex;
    align-items: center;
    
    &:hover {
      background-color: rgba(0, 0, 0, 0.04);
    }
  }
  
  :global(.ant-tree-node-selected) {
    :global(.ant-tree-node-content-wrapper) {
      background-color: #1890ff !important;
      color: white !important;
      
      :global(.ant-tree-iconEle) {
        color: white !important;
      }
    }
  }
  
  :global(.ant-tree-switcher) {
    width: 24px;
    height: 24px;
    line-height: 24px;
    margin-right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    :global(.ant-tree-switcher-icon) {
      font-size: 14px;
      transition: transform 0.2s ease;
    }
  }
  
  :global(.ant-tree-indent-unit) {
    width: 20px;
  }
  
  :global(.ant-tree-title) {
    font-size: 15px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    line-height: 24px;
  }
  
  :global(.ant-tree-node-content-wrapper) {
    :global(.ant-tree-iconEle) {
      margin-right: 8px;
      font-size: 16px;
      color: rgba(0, 0, 0, 0.65);
      display: flex;
      align-items: center;
    }
  }
  
  // 二级节点样式（知识库名称）
  :global(.ant-tree-child-tree) {
    :global(.ant-tree-node-content-wrapper) {
      padding: 6px 12px 6px 44px;
      font-size: 14px;
      min-height: 28px;
      
      :global(.ant-tree-title) {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.75);
        line-height: 22px;
      }
      
      :global(.ant-tree-iconEle) {
        font-size: 14px;
        margin-right: 6px;
      }
    }
    
    // 三级节点样式（知识库下的文档）
    :global(.ant-tree-child-tree) {
      :global(.ant-tree-node-content-wrapper) {
        padding: 4px 12px 4px 64px;
        font-size: 13px;
        min-height: 26px;
        
        :global(.ant-tree-title) {
          font-size: 13px;
          color: rgba(0, 0, 0, 0.65);
          line-height: 20px;
        }
        
        :global(.ant-tree-iconEle) {
          font-size: 12px;
          margin-right: 4px;
        }
      }
    }
  }
  
  // 展开/收起动画
  :global(.ant-tree-switcher-noop) {
    width: 24px;
    height: 24px;
  }
  
  // 根节点样式调整
  :global(.ant-tree-treenode) {
    padding: 0;
    
    &:first-child {
      :global(.ant-tree-node-content-wrapper) {
        margin-top: 4px;
      }
    }
  }
}